Skip to content

Conversation

@gengliangwang
Copy link
Member

What changes were proposed in this pull request?

Display table constraints in the SHOW CREATE TABLE COMMAND

Why are the changes needed?

Displaying table constraints is expected for the SHOW CREATE TABLE COMMAND

Does this PR introduce any user-facing change?

No

How was this patch tested?

Unit test

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the SQL label Jul 17, 2025
name,
definition(),
enforced ? "ENFORCED" : "NOT ENFORCED",
validationStatus,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my understanding, where can we see the status after this, @gengliangwang ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. We have to remove it since the validation status is not supported in the parser.
We can still display it in the "DESC TABLE" command

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM if DESC TABLE serves the purpose. Thank you, @gengliangwang .

cc @peter-toth

@peter-toth
Copy link
Contributor

There seem to be some relevant test failures in the logs. @gengliangwang , can you please take a look those?

@gengliangwang
Copy link
Member Author

@dongjoon-hyun @peter-toth Thanks for the review, merging to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants